package com.nulstudio.sppm.Dao;

import com.nulstudio.sppm.Entities.IssueInvoice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IssueInvoiceMapper {
    public int createEntry(IssueInvoice invoice);
    public int getLastId();
    public int deleteWarehouse(@Param("id")int id);
    public
    IssueInvoice getInvoiceById(@Param("id")int id);
    int setCommitted(@Param("id")int id,@Param("commited")Boolean commited);
}
